package top.leix.springdemo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.leix.springdemo.pojo.LabAssistant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.leix.springdemo.pojo.LabAssistant;
import top.leix.springdemo.pojo.Terms;

import java.util.List;

/**
* @author 16435
* @description 针对表【lab_assistant(实验员表)】的数据库操作Mapper
* @createDate 2024-04-21 22:23:42
* @Entity top.leix.springdemo.pojo.LabAssistant
*/
@Mapper
public interface LabAssistantMapper extends BaseMapper<LabAssistant> {
    Integer addLabAssistant(@Param("labAssistant") LabAssistant labAssistant);

    List<LabAssistant> queryAllLabAssistant();

    Integer updateLabAssistant(@Param("labAssistant") LabAssistant labAssistant);

    Integer deleteUserAccount(@Param("userAccount") String userAccount);

    List<LabAssistant> queryLabAssistantByName(@Param("userName") String userName);

}




